package com.cnbot.camera;

import android.hardware.Camera;

/**
 * Copyright (c) 2016--2019/3/25  Hunan Cnbot Co., Ltd. All Rights Reserved.
 *
 * @descriptoin 摄像头数据回调接口
 * @FileName: ICameraPreviewListener.java
 * @author: dc
 * @date: 2019/3/25 15:39
 * @version: 1.0
 */

public interface ICameraPreviewListener {
    /**
     * 将视频预览的数据回调给其他页面
     *
     * @param data
     * @param camera
     */
    void onPreviewFrame(byte[] data, Camera camera);
}
